package com.itheima.作业.One;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@NoArgsConstructor
@Data
@AllArgsConstructor
public class Goods {
    private String name;
    private double price;
    private int saleNum;

    @Override
    public String toString() {
        return "Goods{" +
                "name='" + name + '\'' +
                ", price=" + price +
                ", saleNum=" + saleNum +
                '}';
    }
}
